Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: disableAutoSnapshot not working as expected #134

Merged

Conversation

jackleslie
Copy link
Contributor

@jackleslie jackleslie commented May 10, 2024

Issue: #131

What Changed

From documentation:

When true, will disable the snapshot that happens automatically at the end of a test when using the Chromatic test fixture.

I believe currently when disableAutoSnapshot is set to true we are not proceeding to the prepareArchives task, so rather than disabling the automatic snapshot we are disabling all snapshots

How to test

  1. set disableAutoSnapshot: true globally
  2. call cy.takeSnapshot()

@jackleslie jackleslie marked this pull request as ready for review May 10, 2024 16:03
@tevanoff tevanoff requested a review from skitterm May 10, 2024 16:40
@jackleslie
Copy link
Contributor Author

Hi there @tevanoff @skitterm, just wanted to bump this hope that's okay 🙏

@skitterm
Copy link
Member

@jackleslie thanks for identifying the issue and making the fix! We'll take a look at this.

Fix the linting error
Fix linting
@jackleslie
Copy link
Contributor Author

@skitterm thanks for taking a look! I see that some checks are still failing, is there anything I need to do?

@skitterm
Copy link
Member

@skitterm thanks for taking a look! I see that some checks are still failing, is there anything I need to do?

@jackleslie you're good! I'll take it from here. Some checks require the PR to be from a non-fork branch to pass. I'll change this base branch to my (non-fork) branch, and after merging I'll make another PR from my branch to main. Planning on having this deployed by the end of today (US pacific time).

Copy link
Member

@skitterm skitterm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks again @jackleslie!

@skitterm skitterm changed the base branch from main to enable-manual-snapshots-without-automatic May 28, 2024 22:33
@skitterm skitterm merged commit accd2fa into chromaui:enable-manual-snapshots-without-automatic May 28, 2024
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants